﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DLULearningNetworkModel;

namespace DLULearningNetwork.ViewModels
{
    public class ListCoursesViewModel
    {
        public List<Course> Courses { get; set; }
        public int CurrentPage { get; set; }
        public int TotalItems { get; set; }

        public ListCoursesViewModel(List<Course> courses, int currentPage, int totalItems)
        {
            this.Courses = courses;
            this.CurrentPage = currentPage;
            this.TotalItems = totalItems;
        }
    }
}